<?php
/**
 * 开服接口
 * 
 CREATE TABLE `au_open_api` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '接口ID',
  `api_code` varchar(50) NOT NULL COMMENT '接口编码（唯一标识）',
  `api_name` varchar(100) NOT NULL COMMENT '接口名称',
  `api_desc` varchar(500) DEFAULT NULL COMMENT '接口描述',
  `request_method` varchar(20) NOT NULL COMMENT '请求方法（GET/POST/PUT/DELETE）',
  `request_url` varchar(255) NOT NULL COMMENT '接口路径',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态（1：启用，0：禁用）',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_api_code` (`api_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='开放接口信息表';
 */
class OpenApi extends Model{
	public $table_name = "au_open_api";
}